<template>
<!--  <input type="text" @input="$emit('input', $event.target.value)">-->
  <input
    type="checkbox"
    v-bind:checked="checked1234"
    v-on:change="$emit('change', $event.target.checked)"
  >
</template>

<script>
  export default {
    name: "child",
    // model: {
    //   prop: 'myValue',
    //   event: 'input'
    // }
    model:{
      prop: 'checked1234',
      event: 'change'
    },
    props: {
      checked1234: Boolean
    }
  }
</script>

<style scoped>

</style>
